all: buildtzx.exe

clean:
	del turbo.h
	del turbo.bin
	del *.bak

buildtzx.exe: buildtzx.c basic_loader.h turbo.h buildtzx.h
	cl buildtzx.c -o buildtzx.exe

basic_loader.h: basic_loader.bin
	bin2c basic_loader.bin basic_loader basic_loader

turbo.h: turbo.bin
	bin2c turbo.bin turbo turbo

turbo.bin: turbo.asm
	pasmo turbo.asm turbo.bin